package com.ihrm.modules.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ihrm.common.utils.PageUtils;
import com.ihrm.modules.sys.entity.UserEntity;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 
 *
 * @author gaogzhen
 * @email gaogzhen@foxmail.com
 * @date 2020-12-17 20:11:23
 */
public interface UserService extends IService<UserEntity> {

    PageUtils queryPage(Map<String, Object> params);


    void assignRoles(Map<String, Object> map);

    String login(Map<String, Object> map);

//    Map<String, Object> profile(String token);
    Map<String, Object> profile(UserEntity userEntity);

    void importFile(MultipartFile file) throws IOException;

    void export(String month, HttpServletResponse response) throws IOException;
}

